Quantifying Hidden Salt for Precision Healthcare: Sodium Assessment via Joint-Factor Retrieval and Chain-of-Thought Inference
Organizations: State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China. · University of Chinese Academy of Sciences, Beijing, China. · National Institute for Nutrition and Health, Chinese Center for Disease Control and Prevention, Beijing, China.
Abstract
Precision healthcare, particularly for conditions like hypertension and cardiovascular disease, necessitates monitoring of dietary sodium intake. However, tracking this is hindered by the prevalence of hidden salt in cooking, such as sodium in soy sauce and ketchup. While recipes offer a valuable data source for dietary analysis, sodium-rich seasonings are frequently omitted or described ambiguously in instructions. To solve this issue, we propose SALT, a Sodium Assessing & Level Tracking framework adopting an RAG framework to assess sodium content in recipes. Our framework first introduces a Joint-Factor Embedding Retrieval module to locate similar recipes with specified sodium content for addressing the lack of contextual references. These retrieved samples provide contexts for subsequent inference. Then we design a structured 4-hop Chain-of-Thought inference module to refine the vague estimation from language models through a multi-step sodium estimation. To facilitate our study, we further construct a recipe dataset SALT54k with entries labeled with sodium quantities across common seasonings. Results on SALT54k demonstrate that our method achieves state-of-the-art performance in sodium estimation. Additional real-world validations confirm the effectiveness of our method, demonstrating its potential as a practical solution for AI-assisted precision healthcare.
Figures & tables
| Retrieval Method | Relevance Score | Acc | AwT |
| Random Retrieval | 3.02 | 26.54 | 29.90 |
| BM25 | 8.41 | 37.18 | 42.34 |
| bge-m3 | 13.97 | 50.69 | 56.27 |
| bge-m3-recipe | 19.36 | 63.62 | 71.64 |
| Settings | Models | Acc | AwT | Salt MAE | Soy Sauce MAE |
| zero-shot | GLM-5 | 11.20 | 19.36 | 2.90 | 3.80 |
| Deepseek-V3.2 | 15.30 | 23.96 | 2.81 | 3.54 | |
| GPT-5.2 | 18.18 | 21.47 | 2.64 | 3.77 | |
| Gemini 3.1 Pro | 19.52 | 25.24 | 2.69 | 3.77 | |
| Qwen3-Max | 16.80 | 20.25 | 3.04 | 3.73 | |
| Naive RAG | GLM-5 | 27.14 | 30.03 | 34.39 | 37.82 | 2.35 | 2.27 | 3.14 | 3.06 |
| Model | Setting | Acc | AwT | Salt | SS |
| Llama-3 Chinese | zero-shot | 3.82 | 8.02 | 3.65 | 4.81 |
| Naive 3-shot | 14.51 | 18.65 | 3.10 | 3.98 | |
| Joint 3-shot | 20.04 | 24.74 | 2.34 | 3.34 | |
| SFT | 29.53 | 35.62 | 1.87 | 2.19 | |
| Ours | 35.47 | 43.26 | 1.69 | 2.11 | |
| Qwen3 | zero-shot | 6.79 | 12.91 | 3.47 | 4.31 |
| Retrieval Setting | CoT Setting | GLM-5 | Deepseek-V3.2 | GPT-5.2 | Gemini 3.1 Pro | Qwen3-Max |
| 11.20 | 15.30 | 18.18 | 19.52 | 16.80 | ||
| Random | 16.38 | 19.41 | 21.50 | 22.15 | 21.83 | |
| Random | 4-hop | 18.29 | 20.91 | 24.08 | 26.54 | 23.06 |
| Joint | 34.21 | 42.55 | 47.95 | 54.89 | 41.17 | |
| Joint | Step-by-step | 41.76 | 46.60 | 51.49 | 55.91 | 43.67 |
| Joint | 4-hop | 56.40 | 53.96 | 57.33 | 63.62 | 50.75 |
| Model | Beijing | Shanghai | Guangzhou | |||
| ZS | Ours | ZS | Ours | ZS | Ours | |
| GLM-5 | 4.66 | 3.46 | 5.79 | 4.06 | 3.96 | 3.01 |
| Deepseek-V3.2 | 4.92 | 3.58 | 5.21 | 3.84 | 3.86 | 2.64 |
| GPT-5.2 | 4.06 | 2.89 | 4.69 | 3.46 | 3.24 | 2.09 |
| Gemini 3.1 Pro | 4.18 | 2.55 | 4.56 | 3.13 | 2.93 | 1.63 |
| Qwen3-Max | 3.96 | 2.30 | 4.12 | 2.56 | 2.73 | 1.18 |
| Model | Acc | AwT |
| BERT-base-Chinese-Reg | 27.35 | 31.73 |
| bge-m3-recipe-Reg | 30.81 | 38.02 |
| Ours (Gemini 3.1 Pro, 3-shot) | 63.62 | 71.64 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Raw Expression Type | Example | Normalization Rule |
| Explicit Solid Quantity | 5g Salt; 1 Tsp MSG | Convert to Teaspoon |
| Explicit Liquid Quantity | 20ml Soy Sauce; 1 Tbsp Oyster Sauce | Convert to Yablespoon |
| Household Spoon Expression | 1 Small Spoon; Half Spoon | Map to Tsp/Tbsp According to Convention |
| Ambiguous Expression | Proper Amount; A Little | Excluded from Labeled Ground Truth |
| Non-target Seasoning | Sugar; Pepper | Not Included in the 11-dimensional Label |
| Model | Version | Window | Parameter | Temperature | Top-p |
| Locally Deployed | |||||
| Llama3-Chinese | Instruct | 8k | 8B | 1.0 | 1.0 |
| Qwen3 | - | 128k | 8B | 1.0 | 1.0 |
| API-Invoked | |||||
| GLM-5 | Think | 200k | - | 1.0 | 0.95 |
| Deepseek-V3.2 | Thinking | 128k | - | 1.0 | 1.0 |
| Settings | Models | MSG | CE | LSS | DSS |
| zero-shot | Llama-3-Chinese | 0.72 | 0.47 | 2.41 | 1.35 |
| GLM-5 | 0.68 | 0.43 | 2.23 | 1.10 | |
| Deepseek-V3.2 | 0.70 | 0.40 | 2.39 | 1.06 | |
| GPT-5.2 | 0.68 | 0.44 | 2.24 | 1.14 | |
| Gemini 3.1 Pro | 0.64 | 0.33 | 1.60 | 0.87 | |
| Qwen3-Max | 0.60 | 0.40 | 1.73 | 0.65 |
| Settings | Models | OS | CS | YBS | CBS | TS |
| zero-shot | Llama-3-Chinese | 0.88 | 0.45 | 0.37 | 0.56 | 0.09 |
| GLM-5 | 0.86 | 0.41 | 0.32 | 0.55 | 0.09 | |
| Deepseek-V3.2 | 0.79 | 0.40 | 0.36 | 0.51 | 0.09 | |
| GPT-5.2 | 0.79 | 0.31 | 0.37 | 0.59 | 0.10 | |
| Gemini 3.1 Pro | 0.44 | 0.21 | 0.16 | 0.46 | 0.06 | |
| Qwen3-Max | 0.53 | 0.33 | 0.15 | 0.49 | 0.06 |