I dont understand the issue at hand 
I might be seeing this in the wrong way, to try and help I will explain tech trading as my memory remembers the mechanics.
When I research a tech in the Warfare tree, I get a 5 special warfare points (whatever the number, I get some warfare points).
These Warfare points are special points only used for diplomacy, they are like a separate currency in and of itself, that have a very special attribute.
When I trade 5 warfare points away to my enemy to gain 5 magic points (points for the magic tech tree),
I lose my 5 warfare points (Since I just traded them away).
I then add a 5 research points randomly allocated in the magic research tree (for the 5 magic points traded in my direction)
And the AI I traded with adds 5 research points randomly allocated in the warfare tree.
I don't remember anymore features for the tech points.
hope it helps.
Sincerely
~ Kongdej