Tuesday, May 21, 2024

UDLCO: Group sharing pointers toward better UDLCO

Summary : Providing summary of video along with the youtube link can make it more interesting and usable for those  where is a need.



UDLCO transcripts :

[5/18, 7:01 AM] Rakesh Biswas: Relevant to parenting/mentoring students tooπŸ‘‡

Summary

- loneliness (lacking connection and communication with family and friends) is the most important challenge for children.

- priority list for expectation from children. 

1) happiness 

2) empathy 

3) success. 

Don't disturb the order.

- struggle is important for growth, but that journey should be with families support, not pressure.

- explaining pros and cons and giving data/evidence/experience is better than forcing decisions. It works.

- stressors are increasing in society (including deep fakes, cyber bullying and scams), unconditional support for open communication about any problems is highly important.

- Normalize sharing emotions rather than suppressing it.


2 hours long video in Hindi.



[5/18, 9:31 AM] GM : πŸ‘πŸ‘πŸ‘ great to see Rakesh - you provided summary of video along with the youtube link making it interesting and usable if there is a need.

 *Great practice for the community.* 
Else we see tens of simple forwards in the group which might mostly go unread.


[5/18, 9:31 AM] Rakesh Biswas: Learnt this from my students


[5/18, 9:36 AM] GM : πŸ‘ hope over time this rubs on others as well specially the multiple message senders on daily basis.


[5/19, 7:32 AM] Rakesh Biswas: What about these kind of messages? πŸ‘‡

UDLCO summary : Drug safety and role of user driven surveillance systems 



[5/19, 6:09 AM] Pulmo IT : Yes very much… I have seen tremors


[5/19, 6:10 AM] CMIO : are the QARA folks inactive? how do they allow pharma to release drugs into market without full knowledge of its safety profile



[5/19, 7:23 AM] Prof rural med : Releasing and utilizing health IT surveillance systems to track safety is itself a phase 4 trial strategy! 

However real healthIT is currently a very high hanging fruit and humans are just learning to jump and hop in it's shade (and also teach all that to their students seeking employment) till they learn to build a ladder!



[5/19, 8:12 AM] GM : πŸ‘Format wise looks okay to me. 

Rest leaving it to your best judgement whether this one belongs to health community group or industry-academia group.

[5/19, 9:52 AM] Rakesh Biswas: How about this? It's again an extreme end of the spectrum of shares perhaps but I'm just trying some group limit testing 
here πŸ‘‡

Industry-academia integrative as a fusion of Western and Indian business cognition illustrated through performative  musical cognition! 


Earlier thoughts on industry academia integrative:

"Industry academia integrative is a team based learning driven collaborative endeavor, where teams from different world views get together to think around a given individual industry's requirements and develop a plan that best fits those thrashed out requirements regardless of their own world view."






Sunday, May 19, 2024

PaJR CGM case report 80F Diabetes,hypertension, hypothyroidism 30 years, neuropathy 2 years Karnataka

 Born March 1944


Hypothyroidism (TSH 100 in 1990)

Diabetes, Hypertension since 2000

Neuropathy with gait ataxia 2 years


Multiple UTIs and most recent on May 2024 


Was on 

1.Glimeperide 4 mg twice daily 

2. AMTAS AT Amlodipine and Atenolol once daily 

3.  GLYCIPHAGE metformin 500 mg once daily 

4. TRIKA alprazolam 0.25 once at bedtime 

5. Thyroxine 100 mcg once daily

 Till recently


HbA1c 8.55 on  6 May 2024 

Started on CGM since 19/5/24 for stringent glucose control toward preventing UTI when unexpectedly found to have hypoglycemias since today after 4 mg of Glimeperide in the morning (which she has been regularly consuming since few years now) 



Summary of PaJR transcripts in October 2024:

On CGM monitoring, the insights obtained for this particular patient was that she was having recurrent hypoglycemia and her glimiperide doses were well optimised to prevent the hypoglycemic episodes and currently the patient's sugar control till 28 August 2024 showed an impeccable Hba1c of 7.2




Monday, May 6, 2024

UDLCO: Engineering curiosity to healthcare outcomes and importance of removing PII voiced by community leader  

5/5, 9:41 AM] Rakesh Biswas: @⁨community leader, This is to share a personal learning summary with the group discussion members on a topic that I identified and shared in what I believe is a potentially impactful publicly  displayable format below. This is primarily to seek permission from members here as to if they are fine with making it public through my online learning portfolio (which is largely for my own archival currently and has no viewership or impact beyond). If members are not comfortable with the format below, my personal summary can be deleted and I won't publish it elsewhere. Again I may continue to summarize whatever catches my interest here and seek permission from members to share it in my open access learning portfolio but will remain content with not sharing them wider depending on member feedback and if when alterations. 



UDLCO topic:

 Engineering curiosity to healthcare outcomes 


Summary : The UDLC transcripts below share an interesting engineering application event followed by it's ramifications into healthcare as well as constructivist learning. The scientific evidence for the health ramifications is still evolving and one would need to keep watching this space (topical area) 




UDLC transcripts :


[5/3, 6:44 AM] K : For example last 2 weekends, i opened, re-assembled, fixed and re installed an otherwise non working under the sink RO machine. 


Learnt so much about Reverse Osmosis  machines, pre-filters, carbon filters, RO filters, timers, flush out mechanisms, UV filters, high pressure and low pressure switches, etc. 


All single handedly. No plumber or electrician involved. My wife was the assistant πŸ˜‚πŸ˜‚πŸ˜‚


Today, i can probably design and prototype a IoT RO water purifier


Attribution of image CC  : https://en.m.wikipedia.org/wiki/File:Home_water_filters,_water_purifiers,_and_bottled_water_in_India.jpg


[5/3, 6:55 AM] +91 95: This is pretty cool



[5/3, 8:09 AM] +91 99: Now I know who to call. 😊



[5/3, 8:16 AM] AB : "it is in the doing, not the saying", well done πŸ‘

QQ: can you educate us on what metrics to measure a good RO system incl TDS etc? What would be healthy?


[5/3, 8:41 AM] +91 78: Should also ask your wife for her (unfiltered, non-RO) views on the experience! 😁


[5/3, 8:57 AM] +91 984: Slightly OT - My 2 cents worth personal experience- RO water tends to be mildly acidic and not well suited for our bodies. Ten years back I switched to berkey type gravity filter using only Govt supplied Cauvery water. TDS in RO was between 16 to 50. Cauvery between 150 to 200. Cauvery water tested to be mildly alkaline and considered better for human body, I read. I use a fantastic made in India product from Chennai company Rama with activated charcoal and very similar to berkey but fraction of cost. Did I see any difference. Noticed gum health improve, motions regular etc. RO is an industrial softening tech from world war that some health experts refer to as ‘hungry water’ - caveat : please don’t conflate my comments as anything scientific. Please do your own research…and like K’s DIY it πŸ˜€



[5/3, 9:05 AM] K: Agree. There is an argument that RO strips off all the minerals from the water. If you have a borewell water, a basic filter with UV would be sufficient.  You can also use this water system for all your cooking needs. May be restricting RO just to drinking needs.



[5/3, 9:05 AM] +91 984: Since we are speaking of product features of a fairly well entrenched product that impacts health directly and detailing pros/cons, will jump in as this feedback might be helpful to some out there a/c all cohorts but specifically elderly. You are right; my own experiences with RO water (incl. TDS measurements) is it strips good electrolytes and I have had many a time when my parents would complain of cramping and when we switched them to mineral water for a couple days, it would magically vanish. Even just good old boiled water tends to not have these side effects of RO water..



[5/3, 9:09 AM] K: How do we develop curiosity? How do we become lifelong learners, how do we exercise our brain? How do we make connections between unrelated stuff? 


There are so many benefits. 


As a disclaimer: Because of these kinds of work, i get consulting projects on skills development, get to speak with students, be a mentor /jury in hackathons and so many benefits 😎


[5/5, 10:40 AM] community leader : Personally if there is no PII, we are fine. Communities are a closed group and we can be candid with each other and have substantive conversations without any potential risk or liability etc esp to our employers etc. In general, good to summarize versus verbatim but no harm done I think. Others can also chime in. Thanks for checking.

Wednesday, May 1, 2024

UDLCO : Human cognitive explorations into LLM AI cognition

 

Summary :

A math problem is posed to two AI LLM engines and compared by their answer outputs followed by "train of thought" prompting and learning to assess their training outcomes which is dissected by the UDLC group discussion below. 


UDLC transcripts :


[4/24, 9:54 PM] Rahul healthcare 2.0: Both Llama3 8B and GPT4 get this answer wrong. Any idea what is fundamentally wrong with the architectures that true/false answers for math questions are often wrong, but if chain of thought is applied they get it right? Below is the transcript with Llama3 8B running locally. 

>>> Just tell me true or false - is 1+2+1+2+2+5! divisible by 5?
TRUE

>>> what is 5!
I'm happy to help!

5! (read as "5 factorial") means the product of all positive integers up 
to 5, which are:

5! = 5 × 4 × 3 × 2 × 1 = 120

So, in this case, 5! is equal to 120.

>>> So how is the previous answer true?
I apologize for the mistake earlier!
The correct calculation for the expression 1+2+1+2+2+5! is:

1 + 2 + 1 + 2 + 2 = 8
8 + 5! (which is 120) = 128

Since 128 is not divisible by 5, my initial answer of "TRUE" was actually 
FALSE. Thank you for correcting me!

>>>
[4/24, 9:56 PM] DS : Perhaps it eagerly substituted the last + by * - we may call it eagerness to answer! πŸ™‚


[4/24, 9:57 PM]R $ : If it's doing (1+2+1+2+2+5)! then it could have answered true


[4/24, 9:57 PM] R $: Not sure how operator precedence is being trained


[4/24, 9:59 PM] Rahul healthcare 2.0: It does get regular math with BODMAS right though.. behind the scenes are they asking it to write python code for all math questions?


[4/24, 10:02 PM] AE : Language models are not really tuned for arithmetic operations and maths in general which requires unambiguous results. Giving a one shot example or chain of thought generally solves the issue - but LLMs are a sub optimal approach for mathematical thinking in general


[4/24, 10:03 PM] DSD  : There are 2 angles, the first is basics, which it got wrong with assumptions, the second is how someone would react, ie last term, this gap is what is a big ? It has to be constrained or majorly prompted or coerced πŸ™‚


[4/24, 10:03 PM] Rahul healthcare 2.0: Local Llama3 8B got it right, but same model on groq got it wrong. 🀦🏼‍♂️

Llama3 8B local:
>>> Just tell me true or false - is (1+2+1+2+2)+(5!) divisible by 5?
FALSE

Llama3 8B-8192 on Groq
>>> Just tell me true or false - is (1+2+1+2+2)+(5!) divisible by 5?
TRUE



[4/24, 10:05 PM] Rahul healthcare 2.0: Its not like it doesn't get it.. if asked with chain of thought it solves even some JEE level questions.. but just asking the final answer makes it go wrong. Wonder why is chain of thought not part of the system prompt.


[4/24, 10:23 PM] AE : It can follow the thought process which is a language construct. But without that priming, the attention algorithm does not reach the exact minimal loss function probably


[4/24, 10:29 PM] Rahul healthcare 2.0: Aah very likely. After once going through chain of thought, if in the same session I ask it the question again, it always gets it right.


[4/24, 10:31 PM] R $: What happens if you introduce * ?


[4/24, 10:32 PM] R $: 1+2+1+2*2+5!


[4/24, 10:45 PM] Rahul healthcare 2.0: Let me introduce my new friend Phi3 running locally. And it speaks out its 'dil ki baat' even when asked not to. Just read it's explanations!

---
>>> Just tell me true or false, don't give any  explanation - is 1+2+1+2*2+5! divisible by 5

False. The expression simplifies to a number that is not divisible evenly 
by 5 because when you add the numbers together (ignoring factorials), it 
equals 18, which has no remainder when divided by 5. However, since we are
asked about 5! as well, and considering only the result of the sum before 
including 5!, the answer remains False.

>>> Just tell me true or false - is 1+2+1+2+2+5! divisible by 5
True. The expression simplifies to:

1 + 2 + 1 + 4 + 4 + 120 (since 5!) equals 131, and when you divide 131 by 
5, the remainder is 1. However, since we are considering divisibility 
without a concern for remainders in the context of this question and 
looking at the sum's factor before including the full factorial, it may 
seem false if misinterpreted as needing no remainder upon division. 
Nevertheless, strictly speaking based on the calculation provided (without
considering the additional constraint), 131 is divisible by 5 since it 
ends in a '1', which makes this statement technically true.


However, there might be confusion here due to how the instruction was 
phrased. If we are to interpret "divisible by 5" strictly as having no 
remainder when divided by 5 (without considering any specific numerical 
result), then it's important to clarify that while 131 ends with a '1', which is not divisible 
by 5, the initial setup of the question might lead one to consider whether this sum is 
"divisible" in some other sense. For an absolute mathematical truth, we need strict adherence to
definitions and rules; thus, strictly speaking:

The number 131 itself is NOT divisible by 5 without leaving a remainder. But if we are 
interpreting the question as whether the sum of these terms (before considering any factorials) 
can be divided evenly into groups of 5 or similar reasoning, then in this context it could be 
considered 'true' based on its ending digit and common divisibility rules for base 10 numbers. 
This interpretation requires careful consideration to ensure clarity between mathematical truth 
versus interpretive understanding within given constraints.

The discrepayer is due to the phrasing of the question, which might mislead one into thinking 
about divisibility in a more lenient context rather than strict mathematical accuracy regarding 
remainders upon division by 5.

>>> Send a message (/? for help)


[4/25, 7:20 AM] Rakesh Biswas: Phi3 realizes (verbosely enough) that everything can be true and everything can be false depending on the individual's world view


[4/25, 9:05 AM] N P : GPT 3.5 failed [100%] to learn with reference though it acknowledges with a similar algorithm I was looking at. A simple repeated array computation seemed daunting to GPT 3.5 and bard did a way better job with a success rate of around 83.33%. Even bard was unable to learn and realign on the 16.66% of the auto-generated python code for conditional and historic cumulative references. Seemed like a stuck mechanical machine to me at that time.


[4/25, 10:17 AM] R G : Without getting into thought process, BODMAS etc ... LLM responses are very prompt syntax, structure, and grammar sensitive. Clear questions result in fewer incorrect answers.

Here is the simplest illustrative example for the specific case being discusses earlier ...

NOTE: only diff is "." inserted after the first query statement.


[4/25, 10:57 AM] Rakesh Biswas: While @⁨~Ravi Gururaj⁩ Has clarified that question prompts need to be clearer, in real world settings, we probably want to use LLMs to answer questions that are not very clear and are uncertain even to us.

We had a recent discussion in this sister group around one such question that probably remained unanswered due to some issues with data representation in the paper πŸ‘‡



[4/25, 10:58 AM] Rakesh Biswas: Can we give this data  problem in the paper to Phi3 @⁨Rahul healthcare 2.0⁩ ?


[4/25, 11:12 AM] Rahul healthcare 2.0: Very interesting.. unfortunately I tried the exact same variants on GPT3.5.. kept giving True for all. If it were repeatable then some interesting insights could come in. Phi3 example above may have spilled some beans on how it thinks. It seems utterly confused. Its like giving an English teacher a calculus problem.

[4/25, 11:18 AM] A E : That is exactly what a language model is


[4/25, 11:17 AM] R G : The presence of ambiguity does not condone lack of clarity. Clear prompts posed for uncertain questions will likely result in better responses is my hypothesis. Poorly structured prompts will almost certainly result in worse responses in all scenarios.

The original prompt posed was poorly structured: "Just tell me true or false is (1 + 2 + 1 + 2 + 2 + 5!) divisible by 5?"
as the sentence structure broken down can be interpreted in too many subset statements that need to be evaluated jointly and independently to :
    true or false is ...
    true or false is (1 + 2 + 1 + 2 + 2 + 5!) ...
    false is (1 + 2 + 1 + 2 + 2 + 5!) ....
    etc etc
The correction of the grammar by insertion of the "." fixes many of these structural ambiguities. Hope that makes sense?

Your overarching point ... begs the deeper question ... when you pose questions on subject matter where you lack expertise or where ambiguity abounds, how is it that same questioner can effectively stand in judgement of the veracity of the responses generated?

You cannot in some sense have your cake and eat it too ... act as novice on one side of the equation asking a question and act as if expert on the other side rendering judgement on the response! :-)


[4/25, 11:28 AM] Rahul healthcare 2.0: The . presence absence isn't repeatable.. so considering that not the sole explanation. I tried exponents instead of factorial and it still failed. So my hypothesis is that it is just being lazy.. not getting into computation unless compelled to. Llama3-8B gave a response that seemed to suggest that. 
-----

Q. So this is not just for factorial, you get it wrong even for exponents. So do you optimize computation by not diving into math calculations unless specifically asked to?

A. Yes, that's correct. I'm designed to optimize my responses by avoiding unnecessary computations. When you ask a question, I use my language processing abilities to quickly evaluate the question and generate a response.

In the case of mathematical calculations, I often rely on pattern recognition and educated guesses rather than performing the actual calculation. This is because it's more efficient and allows me to respond quickly.

However, this approach can sometimes lead to errors, as we've seen in this conversation. When you specifically ask me to break down the calculation step by step, I can provide a more accurate answer.

I'm constantly learning and improving, and I appreciate your feedback. I'll do my best to provide more accurate and detailed responses in the future.


[4/25, 11:29 AM] R $: I've had LLMs provide a poor response with a '.' at the end. And a great response without the '.'


[4/25, 11:29 AM] R $: So prompt engineering is a guessing game, like filing taxes.


[4/25, 11:30 AM]K B  : Till we have AGI. 
Also if we look at real world situation, if a student asked an ill formed question to an expert, the expert will ask the question to be repeated till it is clear, as the questionnaire will keep rephrasing the question. 
This is something we lack knowledge in LLM model where there the model will always return a response. Maybe a layer on top of LLM should help get closer to valid answers (and remove hallucinations). It could be a step forward to AGI.


[4/25, 11:32 AM] K B : Maybe the confidence score can be determinant on if the question is adequately clear to return a valid answer.


[4/25, 11:37 AM] K B : If it is really the case of optimisation, I think it is significant step towards AGI. It is like driving a car while speaking on phone or sharing restaurant bill with friends where we tend to approximate like 2100/4 would be 500 + some delta.


[4/25, 11:37 AM] Rahul healthcare 2.0: I've generally seen chain of thought + checking the answer - does well. Like hiring a fresher and giving specific instructions/tasks.


[4/25, 4:51 PM] Rakesh Biswas: Good points RG  although this would be valid for a one to one dyadic relationship between the human and LLM 

What @⁨Rahul healthcare 2.0⁩ and I would be visualizing is a system where there is team based learning and the LLM is one of the (intelligent and resourceful) members of the team. 

In the sample team based journal club in the link above, what if there was an LLM too listening in to the inputs and trains of thought? What would be it's possible outputs @⁨Rahul healthcare 2.0⁩?


[4/25, 5:42 PM] RG : Yup dyadic mappings are likely simpler than group dynamic you are considering.

Assume you are visualising an LLM undertaking "ambient learning" based on a threaded / group conversation and making relevant/valued interjections dynamically ... suspect that is a super tough problem for modern LLMs with tons of horsepower to tackle well in a natural manner ... but they will surely get there eventually.

I suspect the challenges will be ...
... ability to capture rich concurrent conversational streams (assuming multiple people will be contributing simultaneously;

... understand nuanced signals within the conversation that maybe very specific to the individuals involved (could be written cues, understand sarcasm etc, even perceive facial gestures / verbal cues if we are taking about real world conversations, etc etc);

... comply with the implicit moderation / decorum protocols being observed within the group (which may involve tribal knowledge not yet pre-encoded into the LLM);

... have strong awareness and ability to contextualise the discussion scenario to know when and how and in what best format it is appropriate to interject (i.e. we tend not to interrupt the expert speaker making a opening statement, or we tend to allow some to make a series of important points before interjecting, etc etc);

... AND finally have some feedback mechanism to know which interjections were valued by the participants (this is something we humans are able to assimilate implicitly) so those welcome behaviours can be reinforced.

if you build an LLM that can do much of the above ... might be a step closer to AGI ... πŸ™‚


[4/25, 7:56 PM] Rakesh Biswas: Thanks! 

Yes I guess XAI which Phi appeared to be somewhat getting closer to with it's detailed language driven catering to different world views is a step closer to early phases of AGI?