[Paper Review] Learning what to look in chest X-rays with a recurrent visual attention model
This paper proposes a recurrent visual attention model (RAM) that learns to focus on diagnostically relevant regions in chest X-rays to detect enlarged hearts or medical devices. Using reinforcement learning, the model achieves 91.0% and 90.6% accuracy—comparable to larger models like Inception-v3—while using only 5 million parameters and learning task-specific attention policies that align with anatomical knowledge.
X-rays are commonly performed imaging tests that use small amounts of radiation to produce pictures of the organs, tissues, and bones of the body. X-rays of the chest are used to detect abnormalities or diseases of the airways, blood vessels, bones, heart, and lungs. In this work we present a stochastic attention-based model that is capable of learning what regions within a chest X-ray scan should be visually explored in order to conclude that the scan contains a specific radiological abnormality. The proposed model is a recurrent neural network (RNN) that learns to sequentially sample the entire X-ray and focus only on informative areas that are likely to contain the relevant information. We report on experiments carried out with more than $100,000$ X-rays containing enlarged hearts or medical devices. The model has been trained using reinforcement learning methods to learn task-specific policies.
Motivation & Objective
- To develop a fully automated system that learns to detect radiological abnormalities in chest X-rays using only historical, labeled exams.
- To investigate whether a recurrent attention mechanism can learn to focus on diagnostically relevant image regions for accurate classification.
- To reduce model complexity while maintaining high performance by learning task-specific attention policies.
- To enable interpretable diagnosis by visualizing attention paths that align with clinical reasoning.
Proposed method
- The model uses a recurrent neural network (RNN) with a glimpse mechanism that samples small image patches at each time step based on learned attention policies.
- At each step, the model receives a glimpse centered at a location sampled from a normal distribution, with two patches of different sizes capturing local context.
- A stack of two pre-trained convolutional autoencoders acts as the encoder to extract robust features from each glimpse.
- The encoded glimpse representation is concatenated with the location embedding and passed through a fully connected layer to produce a context vector input to the LSTM core.
- The LSTM core maintains a hidden state that guides the attention mechanism; the output of the LSTM is used to predict the next glimpse location via a differentiable sampling from a Gaussian distribution.
- After a fixed number of steps, the final LSTM hidden state is used to classify the image as normal, enlarged heart, or containing a medical device.
Experimental results
Research questions
- RQ1Can a recurrent visual attention model learn to focus on diagnostically relevant regions in chest X-rays for abnormality detection?
- RQ2Does the attention policy learned by the model align with known anatomical locations where medical devices and cardiac enlargement are typically visible?
- RQ3Can the RAM model achieve classification performance comparable to state-of-the-art CNNs while using significantly fewer parameters?
- RQ4How does the model's attention behavior evolve during training, and does it converge to clinically meaningful exploration strategies?
Key findings
- The RAM model achieved 91.0% accuracy in detecting enlarged hearts and 90.6% accuracy in detecting medical devices on independent test sets.
- These results are comparable to Inception-v3, which achieved 91.4% and 91.3% respectively, but with only 25% of the parameters (5 million vs. 21 million).
- The model learned attention policies that systematically focus on the lungs and spine regions when searching for medical devices, which are the typical locations of such implants.
- For enlarged heart detection, the model learned to explore the cardiac silhouette and its extremities, consistent with clinical assessment of cardiomegaly.
- Visualization of attention paths shows that the model initially explores randomly but quickly learns to concentrate on anatomically relevant regions after several hundred training epochs.
- The model's attention behavior demonstrates interpretability, with high-attention regions matching known radiological landmarks for each pathology.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.